/*
 * @Autor: dingxiaolin
 * @Date: 2020-05-28 22:48:51
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2020-05-30 15:29:17
 */

import React, { Component } from "react";
import { withRouter } from "react-router-dom";
@withRouter
class Register extends Component {
  jump = () => {
    this.props.history.push("/404");
  };
  render() {
    console.log("props", this.props);
    return <div onClick={this.jump}>注册</div>;
  }
}
export default Register;
